home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1999-10-20 | 3.6 KB | [TEXT/MPS ] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Echo.c
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 45 63 68 6f 2e 63 | 00 00 00 00 00 00 00 00 |..Echo.c|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 0b 91 00 | 00 01 ac b4 33 a5 90 b4 |........|....3...|
|00000060| 33 a5 90 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |3.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 48 2d 00 00 |........|....H-..|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 45 63 68 6f 2e |/*..File|:..Echo.|
|00000090| 63 0d 0d 09 43 6f 6e 74 | 61 69 6e 73 3a 09 41 20 |c...Cont|ains:.A |
|000000a0| 73 61 6d 70 6c 65 20 64 | 63 6d 64 20 77 68 69 63 |sample d|cmd whic|
|000000b0| 68 20 65 63 68 6f 73 20 | 61 6c 6c 20 63 6f 6d 6d |h echos |all comm|
|000000c0| 61 6e 64 20 6c 69 6e 65 | 20 70 61 72 61 6d 65 74 |and line| paramet|
|000000d0| 65 72 73 2e 0d 0d 09 57 | 72 69 74 74 65 6e 20 62 |ers....W|ritten b|
|000000e0| 79 3a 09 4a 4d 33 20 3d | 20 4a 69 6d 20 4d 75 72 |y:.JM3 =| Jim Mur|
|000000f0| 70 68 79 0d 09 09 09 09 | 44 41 4c 20 3d 20 44 61 |phy.....|DAL = Da|
|00000100| 76 65 20 4c 79 6f 6e 73 | 0d 0d 09 43 6f 70 79 72 |ve Lyons|...Copyr|
|00000110| 69 67 68 74 3a 09 a9 20 | 31 39 38 38 2c 20 31 39 |ight:.. |1988, 19|
|00000120| 39 34 2c 20 31 39 39 36 | 20 62 79 20 41 70 70 6c |94, 1996| by Appl|
|00000130| 65 20 43 6f 6d 70 75 74 | 65 72 2c 20 49 6e 63 2e |e Comput|er, Inc.|
|00000140| 2c 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 |, All Ri|ghts Res|
|00000150| 65 72 76 65 64 2e 0d 0d | 09 43 68 61 6e 67 65 20 |erved...|.Change |
|00000160| 48 69 73 74 6f 72 79 20 | 28 6d 6f 73 74 20 72 65 |History |(most re|
|00000170| 63 65 6e 74 20 66 69 72 | 73 74 29 3a 0d 0d 09 09 |cent fir|st):....|
|00000180| 20 3c 35 3e 09 20 39 2f | 32 33 2f 39 36 09 44 41 | <5>. 9/|23/96.DA|
|00000190| 4c 09 09 48 6f 6e 6f 72 | 20 74 68 65 20 22 61 62 |L..Honor| the "ab|
|000001a0| 6f 72 74 65 64 22 20 66 | 69 65 6c 64 20 69 6e 20 |orted" f|ield in |
|000001b0| 74 68 65 20 70 61 72 61 | 6d 65 74 65 72 20 62 6c |the para|meter bl|
|000001c0| 6f 63 6b 2c 20 61 6e 64 | 20 68 61 6e 64 6c 65 0d |ock, and| handle.|
|000001d0| 09 09 09 09 09 09 09 09 | 09 71 75 6f 74 65 64 20 |........|.quoted |
|000001e0| 73 74 72 69 6e 67 73 20 | 63 6f 72 72 65 63 74 6c |strings |correctl|
|000001f0| 79 2e 20 49 74 27 73 20 | 73 74 69 6c 6c 20 67 6f |y. It's |still go|
|00000200| 6f 66 79 20 69 66 20 79 | 6f 75 20 64 6f 20 22 65 |ofy if y|ou do "e|
|00000210| 63 68 6f 20 30 2f 30 22 | 2c 0d 09 09 09 09 09 09 |cho 0/0"|,.......|
|00000220| 09 09 09 74 68 6f 75 67 | 68 20 28 74 68 65 20 22 |...thoug|h (the "|
|00000230| 69 66 20 28 6f 6b 29 2e | 2e 2e 65 6c 73 65 22 29 |if (ok).|..else")|
|00000240| 20 69 73 20 6e 6f 74 20 | 77 6f 72 6b 69 6e 67 20 | is not |working |
|00000250| 61 73 20 65 78 70 65 63 | 74 65 64 2e 0d 09 09 20 |as expec|ted.... |
|00000260| 3c 34 3e 20 20 20 32 35 | 2d 4a 61 6e 2d 39 36 09 |<4> 25|-Jan-96.|
|00000270| 4a 4d 33 09 09 41 64 64 | 65 64 20 73 61 6d 70 6c |JM3..Add|ed sampl|
|00000280| 65 20 62 75 69 6c 64 20 | 63 6f 6d 6d 61 6e 64 73 |e build |commands|
|00000290| 2e 0d 09 09 20 3c 33 3e | 20 20 20 31 30 2d 44 65 |.... <3>| 10-De|
|000002a0| 63 2d 39 34 09 4a 4d 33 | 09 09 55 70 64 61 74 65 |c-94.JM3|..Update|
|000002b0| 64 20 66 6f 72 20 6e 65 | 77 20 66 6f 72 6d 61 74 |d for ne|w format|
|000002c0| 20 33 20 64 63 6d 64 20 | 72 65 71 75 69 72 65 6d | 3 dcmd |requirem|
|000002d0| 65 6e 74 73 2e 0d 09 09 | 20 3c 32 3e 20 20 20 20 |ents....| <2> |
|000002e0| 31 2d 53 65 70 2d 39 34 | 09 4a 4d 33 09 09 49 6e |1-Sep-94|.JM3..In|
|000002f0| 63 6c 75 64 65 64 20 73 | 74 72 69 6e 67 2e 68 20 |cluded s|tring.h |
|00000300| 73 6f 20 77 65 20 62 75 | 69 6c 64 20 77 69 74 68 |so we bu|ild with|
|00000310| 20 6e 6f 20 77 61 72 6e | 69 6e 67 73 20 77 69 74 | no warn|ings wit|
|00000320| 68 20 2d 72 2e 0d 0d 09 | 54 68 65 20 66 6f 6c 6c |h -r....|The foll|
|00000330| 6f 77 69 6e 67 20 4d 50 | 57 20 63 6f 6d 6d 61 6e |owing MP|W comman|
|00000340| 64 73 20 77 69 6c 6c 20 | 62 75 69 6c 64 20 74 68 |ds will |build th|
|00000350| 65 20 64 63 6d 64 20 61 | 6e 64 20 63 6f 70 79 20 |e dcmd a|nd copy |
|00000360| 69 74 20 74 6f 20 74 68 | 65 20 22 44 65 62 75 67 |it to th|e "Debug|
|00000370| 67 65 72 20 50 72 65 66 | 73 22 20 66 69 6c 65 0d |ger Pref|s" file.|
|00000380| 09 69 6e 20 74 68 65 20 | 53 79 73 74 65 6d 20 66 |.in the |System f|
|00000390| 6f 6c 64 65 72 2e 20 54 | 68 65 20 64 63 6d 64 27 |older. T|he dcmd'|
|000003a0| 73 20 6e 61 6d 65 20 69 | 6e 20 4d 61 63 73 42 75 |s name i|n MacsBu|
|000003b0| 67 20 77 69 6c 6c 20 62 | 65 20 74 68 65 20 6e 61 |g will b|e the na|
|000003c0| 6d 65 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 62 |me of th|e file b|
|000003d0| 75 69 6c 74 20 62 79 0d | 09 74 68 65 20 4c 69 6e |uilt by.|.the Lin|
|000003e0| 6b 65 72 2e 0d 0d 09 43 | 20 45 63 68 6f 2e 63 0d |ker....C| Echo.c.|
|000003f0| 09 4c 69 6e 6b 20 2d 6f | 20 45 63 68 6f 20 2d 73 |.Link -o| Echo -s|
|00000400| 67 20 4d 61 69 6e 3d 53 | 54 44 43 4c 49 42 2c 53 |g Main=S|TDCLIB,S|
|00000410| 54 44 49 4f 2c 53 41 4e | 45 4c 49 42 20 64 63 6d |TDIO,SAN|ELIB dcm|
|00000420| 64 47 6c 75 65 2e 61 2e | 6f 20 45 63 68 6f 2e 63 |dGlue.a.|o Echo.c|
|00000430| 2e 6f 22 09 b6 0d 09 09 | 22 7b 4c 69 62 72 61 72 |.o".....|"{Librar|
|00000440| 69 65 73 7d 52 75 6e 74 | 69 6d 65 2e 6f 22 20 22 |ies}Runt|ime.o" "|
|00000450| 7b 43 4c 69 62 72 61 72 | 69 65 73 7d 53 74 64 43 |{CLibrar|ies}StdC|
|00000460| 4c 69 62 2e 6f 22 0d 09 | 42 75 69 6c 64 44 63 6d |Lib.o"..|BuildDcm|
|00000470| 64 20 45 63 68 6f 20 31 | 39 32 20 2d 66 6f 72 6d |d Echo 1|92 -form|
|00000480| 61 74 33 0d 09 45 63 68 | 6f 20 27 69 6e 63 6c 75 |at3..Ech|o 'inclu|
|00000490| 64 65 20 22 45 63 68 6f | 22 3b 27 09 7c 09 52 65 |de "Echo|";'.|.Re|
|000004a0| 7a 20 2d 61 20 2d 6f 20 | 22 7b 53 79 73 74 65 6d |z -a -o |"{System|
|000004b0| 46 6f 6c 64 65 72 7d 44 | 65 62 75 67 67 65 72 20 |Folder}D|ebugger |
|000004c0| 50 72 65 66 73 22 0d 0d | 2a 2f 0d 0d 0d 23 69 6e |Prefs"..|*/...#in|
|000004d0| 63 6c 75 64 65 20 3c 4d | 65 6d 6f 72 79 2e 68 3e |clude <M|emory.h>|
|000004e0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|000004f0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |.h>.#inc|lude <st|
|00000500| 72 69 6e 67 2e 68 3e 0d | 0d 23 69 6e 63 6c 75 64 |ring.h>.|.#includ|
|00000510| 65 20 22 64 63 6d 64 2e | 68 22 0d 0d 76 6f 69 64 |e "dcmd.|h"..void|
|00000520| 20 4e 75 6d 62 65 72 54 | 6f 48 65 78 28 6c 6f 6e | NumberT|oHex(lon|
|00000530| 67 20 6e 75 6d 62 65 72 | 2c 20 53 74 72 32 35 35 |g number|, Str255|
|00000540| 20 68 65 78 29 0d 7b 0d | 0d 09 53 74 72 32 35 35 | hex).{.|..Str255|
|00000550| 09 64 69 67 69 74 73 20 | 3d 20 22 30 31 32 33 34 |.digits |= "01234|
|00000560| 35 36 37 38 39 41 42 43 | 44 45 46 22 3b 0d 09 69 |56789ABC|DEF";..i|
|00000570| 6e 74 09 09 6e 3b 0d 0d | 09 73 74 72 63 70 79 28 |nt..n;..|.strcpy(|
|00000580| 68 65 78 2c 20 26 22 2e | 30 30 30 30 30 30 30 30 |hex, &".|00000000|
|00000590| 22 29 3b 0d 09 68 65 78 | 5b 30 5d 20 3d 20 38 3b |");..hex|[0] = 8;|
|000005a0| 0d 09 66 6f 72 20 28 6e | 20 3d 20 38 3b 20 6e 20 |..for (n| = 8; n |
|000005b0| 3e 3d 20 31 3b 20 6e 2d | 2d 29 0d 09 7b 0d 09 09 |>= 1; n-|-)..{...|
|000005c0| 68 65 78 5b 6e 5d 20 3d | 20 64 69 67 69 74 73 5b |hex[n] =| digits[|
|000005d0| 6e 75 6d 62 65 72 20 25 | 20 31 36 5d 3b 0d 09 09 |number %| 16];...|
|000005e0| 6e 75 6d 62 65 72 20 3d | 20 6e 75 6d 62 65 72 20 |number =| number |
|000005f0| 2f 20 31 36 3b 0d 09 7d | 0d 0d 7d 20 2f 2f 20 4e |/ 16;..}|..} // N|
|00000600| 75 6d 62 65 72 54 6f 48 | 65 78 0d 0d 0d 70 61 73 |umberToH|ex...pas|
|00000610| 63 61 6c 20 76 6f 69 64 | 20 43 6f 6d 6d 61 6e 64 |cal void| Command|
|00000620| 45 6e 74 72 79 28 64 63 | 6d 64 42 6c 6f 63 6b 2a |Entry(dc|mdBlock*|
|00000630| 20 70 61 72 61 6d 50 74 | 72 29 0d 7b 0d 0d 09 73 | paramPt|r).{...s|
|00000640| 68 6f 72 74 09 70 6f 73 | 2c 20 63 68 3b 0d 09 6c |hort.pos|, ch;..l|
|00000650| 6f 6e 67 09 76 61 6c 75 | 65 3b 0d 09 42 6f 6f 6c |ong.valu|e;..Bool|
|00000660| 65 61 6e 09 6f 6b 3b 0d | 09 53 74 72 32 35 35 09 |ean.ok;.|.Str255.|
|00000670| 73 74 72 3b 0d 0d 09 73 | 74 61 74 69 63 20 63 6f |str;...s|tatic co|
|00000680| 6e 73 74 20 63 68 61 72 | 20 75 73 61 67 65 53 74 |nst char| usageSt|
|00000690| 72 5b 5d 20 3d 20 22 5c | 70 5b 70 61 72 61 6d 73 |r[] = "\|p[params|
|000006a0| 2e 2e 2e 5d 22 3b 0d 0d | 09 73 77 69 74 63 68 20 |...]";..|.switch |
|000006b0| 28 70 61 72 61 6d 50 74 | 72 2d 3e 72 65 71 75 65 |(paramPt|r->reque|
|000006c0| 73 74 29 0d 09 7b 0d 09 | 09 63 61 73 65 20 64 63 |st)..{..|.case dc|
|000006d0| 6d 64 49 6e 69 74 3a 0d | 09 09 09 62 72 65 61 6b |mdInit:.|...break|
|000006e0| 3b 0d 0d 09 09 63 61 73 | 65 20 64 63 6d 64 48 65 |;....cas|e dcmdHe|
|000006f0| 6c 70 3a 0d 09 09 09 64 | 63 6d 64 44 72 61 77 4c |lp:....d|cmdDrawL|
|00000700| 69 6e 65 28 22 5c 70 45 | 63 68 6f 20 74 68 65 20 |ine("\pE|cho the |
|00000710| 63 6f 6d 6d 61 6e 64 20 | 6c 69 6e 65 20 70 61 72 |command |line par|
|00000720| 61 6d 65 74 65 72 73 22 | 29 3b 0d 09 09 09 62 72 |ameters"|);....br|
|00000730| 65 61 6b 3b 0d 0d 09 09 | 63 61 73 65 20 64 63 6d |eak;....|case dcm|
|00000740| 64 47 65 74 49 6e 66 6f | 3a 0d 09 09 09 2a 20 28 |dGetInfo|:....* (|
|00000750| 6c 6f 6e 67 20 2a 29 20 | 26 28 28 47 65 74 49 6e |long *) |&((GetIn|
|00000760| 66 6f 52 65 71 75 65 73 | 74 42 6c 6f 63 6b 50 74 |foReques|tBlockPt|
|00000770| 72 29 20 70 61 72 61 6d | 50 74 72 2d 3e 72 65 71 |r) param|Ptr->req|
|00000780| 75 65 73 74 49 4f 42 6c | 6f 63 6b 29 2d 3e 64 63 |uestIOBl|ock)->dc|
|00000790| 6d 64 56 65 72 73 69 6f | 6e 20 3d 20 30 78 30 33 |mdVersio|n = 0x03|
|000007a0| 30 30 38 30 30 30 3b 20 | 2f 2f 20 76 65 72 73 69 |008000; |// versi|
|000007b0| 6f 6e 20 33 2e 30 20 66 | 69 6e 61 6c 0d 09 09 09 |on 3.0 f|inal....|
|000007c0| 42 6c 6f 63 6b 4d 6f 76 | 65 44 61 74 61 28 26 75 |BlockMov|eData(&u|
|000007d0| 73 61 67 65 53 74 72 2c | 20 26 28 28 47 65 74 49 |sageStr,| &((GetI|
|000007e0| 6e 66 6f 52 65 71 75 65 | 73 74 42 6c 6f 63 6b 50 |nfoReque|stBlockP|
|000007f0| 74 72 29 20 70 61 72 61 | 6d 50 74 72 2d 3e 72 65 |tr) para|mPtr->re|
|00000800| 71 75 65 73 74 49 4f 42 | 6c 6f 63 6b 29 2d 3e 75 |questIOB|lock)->u|
|00000810| 73 61 67 65 53 74 72 2c | 20 75 73 61 67 65 53 74 |sageStr,| usageSt|
|00000820| 72 5b 30 5d 2b 31 29 3b | 0d 09 09 09 62 72 65 61 |r[0]+1);|....brea|
|00000830| 6b 3b 0d 0d 09 09 63 61 | 73 65 20 64 63 6d 64 44 |k;....ca|se dcmdD|
|00000840| 6f 49 74 3a 0d 09 09 09 | 64 6f 0d 09 09 09 7b 0d |oIt:....|do....{.|
|00000850| 20 20 20 20 20 20 20 20 | 20 20 20 20 09 2f 2f 20 | | .// |
|00000860| 53 61 76 65 20 74 68 65 | 20 70 6f 73 69 74 69 6f |Save the| positio|
|00000870| 6e 20 73 6f 20 77 65 20 | 63 61 6e 20 72 65 77 69 |n so we |can rewi|
|00000880| 6e 64 20 69 66 20 77 65 | 20 67 65 74 20 61 6e 20 |nd if we| get an |
|00000890| 65 72 72 6f 72 0d 09 09 | 09 0d 09 09 09 09 70 6f |error...|......po|
|000008a0| 73 20 3d 20 64 63 6d 64 | 47 65 74 50 6f 73 69 74 |s = dcmd|GetPosit|
|000008b0| 69 6f 6e 28 29 3b 0d 09 | 09 09 09 63 68 20 20 3d |ion();..|...ch =|
|000008c0| 20 64 63 6d 64 50 65 65 | 6b 41 74 4e 65 78 74 43 | dcmdPee|kAtNextC|
|000008d0| 68 61 72 28 29 3b 0d 0d | 09 09 09 09 69 66 20 28 |har();..|....if (|
|000008e0| 28 28 63 68 20 3e 3d 20 | 27 41 27 29 20 26 26 20 |((ch >= |'A') && |
|000008f0| 28 63 68 20 3c 3d 20 27 | 5a 27 29 29 20 7c 7c 20 |(ch <= '|Z')) || |
|00000900| 28 28 63 68 20 3e 3d 20 | 27 61 27 29 20 26 26 20 |((ch >= |'a') && |
|00000910| 28 63 68 20 3c 3d 20 27 | 7a 27 29 29 20 7c 7c 20 |(ch <= '|z')) || |
|00000920| 28 63 68 20 3d 3d 20 27 | 22 27 29 20 7c 7c 20 28 |(ch == '|"') || (|
|00000930| 63 68 20 3d 3d 20 27 5c | 27 27 29 29 0d 09 09 09 |ch == '\|''))....|
|00000940| 09 7b 0d 09 09 09 09 09 | 2f 2f 20 47 65 74 20 74 |.{......|// Get t|
|00000950| 68 65 20 70 61 72 61 6d | 65 74 65 72 20 61 73 20 |he param|eter as |
|00000960| 61 20 74 65 78 74 20 73 | 74 72 69 6e 67 0d 0d 09 |a text s|tring...|
|00000970| 09 09 09 09 63 68 20 3d | 20 64 63 6d 64 47 65 74 |....ch =| dcmdGet|
|00000980| 4e 65 78 74 50 61 72 61 | 6d 65 74 65 72 28 73 74 |NextPara|meter(st|
|00000990| 72 29 3b 0d 09 09 09 09 | 09 64 63 6d 64 44 72 61 |r);.....|.dcmdDra|
|000009a0| 77 4c 69 6e 65 28 73 74 | 72 29 3b 0d 0d 09 09 09 |wLine(st|r);.....|
|000009b0| 09 7d 0d 09 09 09 09 65 | 6c 73 65 0d 09 09 09 09 |.}.....e|lse.....|
|000009c0| 7b 0d 09 09 09 09 09 2f | 2f 20 47 65 74 20 74 68 |{....../|/ Get th|
|000009d0| 65 20 70 61 72 61 6d 65 | 74 65 72 20 61 73 20 61 |e parame|ter as a|
|000009e0| 20 33 32 20 62 69 74 20 | 76 61 6c 75 65 0d 0d 09 | 32 bit |value...|
|000009f0| 09 09 09 09 63 68 20 3d | 20 64 63 6d 64 47 65 74 |....ch =| dcmdGet|
|00000a00| 4e 65 78 74 45 78 70 72 | 65 73 73 69 6f 6e 28 26 |NextExpr|ession(&|
|00000a10| 76 61 6c 75 65 2c 20 26 | 6f 6b 29 3b 0d 0d 09 09 |value, &|ok);....|
|00000a20| 09 09 09 69 66 20 28 6f | 6b 29 0d 09 09 09 09 09 |...if (o|k)......|
|00000a30| 7b 09 0d 09 09 09 09 09 | 09 2f 2f 20 54 68 65 20 |{.......|.// The |
|00000a40| 65 78 70 72 65 73 73 69 | 6f 6e 20 77 61 73 20 70 |expressi|on was p|
|00000a50| 61 72 73 65 64 20 63 6f | 72 72 65 63 74 6c 79 0d |arsed co|rrectly.|
|00000a60| 0d 09 09 09 09 09 09 4e | 75 6d 62 65 72 54 6f 48 |.......N|umberToH|
|00000a70| 65 78 28 76 61 6c 75 65 | 2c 20 73 74 72 29 3b 0d |ex(value|, str);.|
|00000a80| 09 09 09 09 09 09 64 63 | 6d 64 44 72 61 77 4c 69 |......dc|mdDrawLi|
|00000a90| 6e 65 28 73 74 72 29 3b | 0d 0d 09 09 09 09 09 7d |ne(str);|.......}|
|00000aa0| 0d 09 09 09 09 09 65 6c | 73 65 0d 09 09 09 09 09 |......el|se......|
|00000ab0| 7b 09 0d 09 09 09 09 09 | 09 2f 2f 20 54 68 65 20 |{.......|.// The |
|00000ac0| 65 78 70 72 65 73 73 69 | 6f 6e 20 63 6f 6e 74 61 |expressi|on conta|
|00000ad0| 69 6e 65 64 20 61 6e 20 | 65 72 72 6f 72 2e 20 47 |ined an |error. G|
|00000ae0| 65 74 20 69 74 20 61 73 | 20 61 20 73 74 72 69 6e |et it as| a strin|
|00000af0| 67 0d 0d 09 09 09 09 09 | 09 64 63 6d 64 53 65 74 |g.......|.dcmdSet|
|00000b00| 50 6f 73 69 74 69 6f 6e | 28 70 6f 73 29 3b 0d 09 |Position|(pos);..|
|00000b10| 09 09 09 09 09 63 68 20 | 3d 20 64 63 6d 64 47 65 |.....ch |= dcmdGe|
|00000b20| 74 4e 65 78 74 50 61 72 | 61 6d 65 74 65 72 28 73 |tNextPar|ameter(s|
|00000b30| 74 72 29 3b 0d 09 09 09 | 09 09 09 64 63 6d 64 44 |tr);....|...dcmdD|
|00000b40| 72 61 77 4c 69 6e 65 28 | 73 74 72 29 3b 0d 09 09 |rawLine(|str);...|
|00000b50| 09 09 09 7d 0d 09 09 09 | 09 7d 0d 09 09 09 7d 20 |...}....|.}....} |
|00000b60| 77 68 69 6c 65 20 28 63 | 68 20 21 3d 20 27 5c 6e |while (c|h != '\n|
|00000b70| 27 20 26 26 20 21 70 61 | 72 61 6d 50 74 72 2d 3e |' && !pa|ramPtr->|
|00000b80| 61 62 6f 72 74 65 64 29 | 3b 0d 09 09 09 62 72 65 |aborted)|;....bre|
|00000b90| 61 6b 3b 0d 0d 09 09 2f | 2f 20 56 65 72 73 69 6f |ak;..../|/ Versio|
|00000ba0| 6e 20 33 20 61 6e 64 20 | 6e 65 77 65 72 20 64 63 |n 3 and |newer dc|
|00000bb0| 6d 64 73 20 6d 75 73 74 | 20 71 75 69 65 74 6c 79 |mds must| quietly|
|00000bc0| 20 69 67 6e 6f 72 65 20 | 72 65 71 75 65 73 74 73 | ignore |requests|
|00000bd0| 20 77 65 20 64 6f 6e 27 | 74 20 72 65 63 6f 67 6e | we don'|t recogn|
|00000be0| 69 7a 65 2e 0d 09 0d 09 | 09 64 65 66 61 75 6c 74 |ize.....|.default|
|00000bf0| 3a 0d 09 09 09 62 72 65 | 61 6b 3b 0d 09 7d 0d 7d |:....bre|ak;..}.}|
|00000c00| 20 2f 2f 20 43 6f 6d 6d | 61 6e 64 45 6e 74 72 79 | // Comm|andEntry|
|00000c10| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c80| 00 00 01 00 00 00 01 66 | 00 00 00 66 00 00 00 46 |.......f|...f...F|
|00000c90| 6f 6d 50 6f 72 74 52 65 | 66 09 09 09 28 4f 54 50 |omPortRe|f...(OTP|
|00000ca0| 6f 72 74 52 65 66 20 09 | 09 09 09 72 65 66 2c 0d |ortRef .|...ref,.|
|00000cb0| 06 45 63 68 6f 2e 63 61 | 72 79 20 49 74 65 6d 73 |.Echo.ca|ry Items|
|00000cc0| 61 6e 65 6c 38 2e 31 2e | 73 6d 69 6f 6c 64 65 72 |anel8.1.|smiolder|
|00000cd0| 00 45 54 45 58 54 4d 50 | 53 20 00 00 00 00 00 81 |.ETEXTMP|S ......|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 b4 33 5f 40 00 00 | 0b 91 00 00 01 ac 09 09 |...3_@..|........|
|00000d00| 28 4f 54 50 6f 72 74 52 | 65 66 20 09 09 09 09 72 |(OTPortR|ef ....r|
|00000d10| 65 66 2c 0d 09 09 09 09 | 09 09 09 09 20 4f 54 44 |ef,.....|.... OTD|
|00000d20| 65 76 69 63 65 54 79 70 | 65 20 09 09 09 64 65 76 |eviceTyp|e ...dev|
|00000d30| 54 79 70 65 29 3b 0d 0d | 45 58 54 45 52 4e 5f 41 |Type);..|EXTERN_A|
|00000d40| 50 49 28 20 4f 54 50 6f | 72 74 52 65 66 20 29 0d |PI( OTPo|rtRef ).|
|00000d50| 4f 54 53 65 74 42 75 73 | 54 79 70 65 49 6e 50 6f |OTSetBus|TypeInPo|
|00000d60| 72 74 52 65 66 09 09 09 | 28 4f 54 50 6f 72 74 52 |rtRef...|(OTPortR|
|00000d70| 65 66 20 09 09 09 09 72 | 65 66 2c 0d 09 09 09 09 |ef ....r|ef,.....|
|00000d80| 00 00 00 36 06 60 80 00 | 00 00 03 36 2e 36 2b 36 |...6.`..|...6.6+6|
|00000d90| 2e 36 2c 20 43 6f 70 79 | 72 69 67 68 74 20 41 70 |.6, Copy|right Ap|
|00000da0| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00000db0| 63 2e 20 31 39 38 31 2d | 39 39 00 00 00 28 02 06 |c. 1981-|99...(..|
|00000dc0| 60 80 00 06 45 63 68 6f | 2e 63 00 00 00 00 00 00 |`...Echo|.c......|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 01 00 00 00 01 66 00 00 |........|.....f..|
|00000df0| 00 66 00 00 00 46 0d 59 | cb 68 17 24 00 00 00 1c |.f...F.Y|.h.$....|
|00000e00| 00 46 00 01 76 65 72 73 | 00 00 00 12 66 74 61 67 |.F..vers|....ftag|
|00000e10| 00 00 00 1e 00 01 ff ff | 20 00 00 00 00 00 00 00 |........| .......|
|00000e20| 00 00 ff ff 00 00 00 3a | 0d 59 cb 04 00 00 00 00 |.......:|.Y......|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+